import React, { Component } from 'react'
import { withRouter } from 'react-router-dom'
class Fooddetail extends Component {
  componentDidMount () {
    console.log(this.props.match.params)
  }
  render () {
    return <div>Fooddetail</div>
  }
}
export default withRouter(Fooddetail)
